package com.CNMedical.system.domain.vo;

import com.diboot.core.binding.annotation.BindEntity;
import com.diboot.core.binding.annotation.BindField;
import com.CNMedical.system.domain.entity.AppletKnowledge;
import com.CNMedical.system.domain.entity.AppletKnowledgeCollect;
import com.CNMedical.system.domain.entity.AppletUser;
import lombok.Data;

/**
 * 知识收藏对象 applet_knowledge_collect
 * 
 * @author tang
 * @date 2023-03-28
 */
@Data
public class AppletKnowledgeCollectVO extends AppletKnowledgeCollect
{

    @BindEntity(entity = AppletKnowledge.class , condition = "this.knowledge_id = id")
    private AppletKnowledge appletKnowledge;

    @BindField(entity = AppletUser.class,field = "nickName",condition = "this.user_id = id")
    private String userName;

}
